package com.huizhan.web.model;

import javax.persistence.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.util.Date;

/**
 * @Description 注册通道 
 * @Author  yanluping@outlook.com
 * @Date 2020-01-09 19:15:53 
 */
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
@Entity
@ApiModel(value =  "注册通道")
@Table ( name ="Register")
public class Register  implements Serializable {

	private static final long serialVersionUID =  5932876740017696208L;

	/**
	 * 注册ID
	 */
	@ApiModelProperty(value = "注册ID")
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "Register_Id" )
	private Long registerId;

	/**
	 * 项目ID
	 */
	@ApiModelProperty(value = "项目ID")
   	@Column(name = "Project_Id" )
	private String projectId;
	
	/**
	 * 票类型ID
	 */
	@ApiModelProperty(value = "票类型ID")
   	@Column(name = "Ticket_Type_Id" )
	private Long ticketTypeId;
	
	/**
	 * 证件类型ID
	 */
	@ApiModelProperty(value = "证件类型ID")
   	@Column(name = "Document_Type_Id" )
	private Long documentTypeId;

	/**
	 * 名称
	 */
	@ApiModelProperty(value = "名称")
   	@Column(name = "Name" )
	private String name;

	/**
	 * 语言
	 */
	@ApiModelProperty(value = "语言")
   	@Column(name = "Lang" )
	private String lang;

	/**
	 * 类型：1 组委会、2 展商、3 工作人员、4 观众、5 媒体
	 */
	@ApiModelProperty(value = "类型：1 组委会、2 展商、3 工作人员、4 观众、5 媒体")
   	@Column(name = "Type" )
	private Integer type;

	/**
	 * Banner图片
	 */
	@ApiModelProperty(value = "Banner图片")
   	@Column(name = "Banner" )
	private String banner;

	/**
	 * Banner图片移动端
	 */
	@ApiModelProperty(value = "Banner图片移动端")
   	@Column(name = "BannerMoblie" )
	private String bannerMoblie;

	/**
	 * 英文名
	 */
	@ApiModelProperty(value = "英文名")
   	@Column(name = "EnglishName" )
	private String englishName;

	/**
	 * 地址
	 */
	@ApiModelProperty(value = "地址")
   	@Column(name = "Url" )
	private String url;

	/**
	 * 是否审核
	 */
	@ApiModelProperty(value = "是否审核")
   	@Column(name = "Verify" )
	private Integer verify;

	/**
	 * 短信通知
	 */
	@ApiModelProperty(value = "短信通知")
   	@Column(name = "SMS" )
	private String sms;

	/**
	 * 通知邮件
	 */
	@ApiModelProperty(value = "通知邮件")
   	@Column(name = "Email" )
	private String email;

	/**
	 * 验证规则
	 */
	@ApiModelProperty(value = "验证规则")
   	@Column(name = "Validator" )
	private String validator;

	/**
	 * 属性
	 */
	@ApiModelProperty(value = "属性")
   	@Column(name = "Property" )
	private String property;

	/**
	 * 英文
	 */
	@ApiModelProperty(value = "英文")
   	@Column(name = "English" )
	private Integer english;

	/**
	 * 微信登记
	 */
	@ApiModelProperty(value = "微信登记")
   	@Column(name = "Wechat" )
	private Integer wechat;

	/**
	 * 页面视图
	 */
	@ApiModelProperty(value = "页面视图")
   	@Column(name = "ViewPage" )
	private String viewPage;

	/**
	 * 禁用
	 */
	@ApiModelProperty(value = "禁用")
   	@Column(name = "Disabled" )
	private Integer disabled;

	/**
	 * 创建日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "创建日期",example = "2018-10-01 12:18:48")
   	@Column(name = "CreateDate" )
	private Date createDate;

	public Long getRegisterId() {
		return this.registerId;
	}

	public void setRegisterId(Long registerId) {
		this.registerId = registerId;
	}

	public Long getDocumentTypeId() {
		return this.documentTypeId;
	}

	public void setDocumentTypeId(Long documentTypeId) {
		this.documentTypeId = documentTypeId;
	}

	public Long getTicketTypeId() {
		return this.ticketTypeId;
	}

	public void setTicketTypeId(Long ticketTypeId) {
		this.ticketTypeId = ticketTypeId;
	}

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLang() {
		return this.lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getBanner() {
		return this.banner;
	}

	public void setBanner(String banner) {
		this.banner = banner;
	}

	public String getBannerMoblie() {
		return this.bannerMoblie;
	}

	public void setBannerMoblie(String bannerMoblie) {
		this.bannerMoblie = bannerMoblie;
	}

	public String getEnglishName() {
		return this.englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getVerify() {
		return this.verify;
	}

	public void setVerify(Integer verify) {
		this.verify = verify;
	}

	public String getSms() {
		return this.sms;
	}

	public void setSms(String sms) {
		this.sms = sms;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getValidator() {
		return this.validator;
	}

	public void setValidator(String validator) {
		this.validator = validator;
	}

	public String getProperty() {
		return this.property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public Integer getEnglish() {
		return this.english;
	}

	public void setEnglish(Integer english) {
		this.english = english;
	}

	public Integer getWechat() {
		return this.wechat;
	}

	public void setWechat(Integer wechat) {
		this.wechat = wechat;
	}

	public String getViewPage() {
		return this.viewPage;
	}

	public void setViewPage(String viewPage) {
		this.viewPage = viewPage;
	}

	public Integer getDisabled() {
		return this.disabled;
	}

	public void setDisabled(Integer disabled) {
		this.disabled = disabled;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "{" +
					"registerId='" + registerId + '\'' +
					"projectId='" + projectId + '\'' +
					"documentTypeId='" + documentTypeId + '\'' +
					"ticketTypeId='" + ticketTypeId + '\'' +
					"name='" + name + '\'' +
					"lang='" + lang + '\'' +
					"type='" + type + '\'' +
					"banner='" + banner + '\'' +
					"bannerMoblie='" + bannerMoblie + '\'' +
					"englishName='" + englishName + '\'' +
					"url='" + url + '\'' +
					"verify='" + verify + '\'' +
					"sms='" + sms + '\'' +
					"email='" + email + '\'' +
					"validator='" + validator + '\'' +
					"property='" + property + '\'' +
					"english='" + english + '\'' +
					"wechat='" + wechat + '\'' +
					"viewPage='" + viewPage + '\'' +
					"disabled='" + disabled + '\'' +
					"createDate='" + createDate + '\'' +
				'}';
	}

}
